<div >
    <nav class="navbar navbar-default" role="navigation"style="background-color: darkslategrey;margin-bottom: 0px">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" ng-click="vm.toggleNavbar()">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand logo">
                    <img class="logo-img" src="img/favicon.png"><span style="font-size: 20px;color: #ffffff">正和医生</span> <span class="navbar-version">v{{VERSION}}</span>
                </a>
            </div>
        </div>
    </nav>
</div>

<div class="app flex-row align-items-center"style="padding-top: 0px;margin-top: 0px;background-position: center;background-attachment: fixed;background-image:url(http://media2.chunyuyisheng.com/@/static/v2/img/new_home/bg@2x_48693ba.png);background-size:100%;">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-8">
                <div class="card-group mb-0">
                    <div class="card p-2 col-md-7 col-md-offset-2">
                        <div class="card-block">
                            <h1 style="text-align: center">登陆</h1>
                            <p class="text-muted">登陆您的正和管理账号</p>
                            <form class="form" role="form" ng-submit="vm.login($event)">
                            <div class="input-group mb-1">
                                <label for="username" class="input-group-addon"><i class="icon-user"></i>
                                </label>
                                <input type="text" id="username" class="form-control" placeholder="账号"ng-model="vm.username">
                            </div>
                            <div class="input-group mb-2">
                                <label for="password" class="input-group-addon"><i class="icon-lock"></i>
                                </label>
                                <input type="password" id="password" class="form-control" placeholder="密码" ng-model="vm.password">
                            </div>
                            <div class="row">
                                <div class="col-6">
                                    <button type="submit" class="btn btn-primary px-2">登陆</button>
                                </div>

                            </div>
                            </form>
                        </div>
                        <div class="col-md-8 col-md-offset-2">
                            <div class="alert alert-danger" ng-show="vm.authenticationError">
                                <strong>登陆失败!</strong> 请检查您的登陆信息，并重试一次.
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


